package 卡片;

public class Card2 extends  Card{
    @Override
    public void pay(double money2) {
        double money3 = money2*0.6;
        setMoney(getMoney()-money3);
        System.out.println("你此次消费:"+money3+"  为你打了六折");
        System.out.println("你的余额是:"+getMoney());
    }
}
